package com.cy.config;


import org.activiti.api.runtime.shared.identity.UserGroupManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * ActivitySpringConfiguration
 *
 * @author wxhn1
 * @since 2024-01-09 14:01
 */
@Configuration
public class ActivitySpringConfiguration {
	
	@Bean
	public UserGroupManager userGroupManager() {
		return new UserGroupManager() {
			
			@Override
			public List<String> getUserGroups(String s) {
				return new ArrayList<>();
			}
			
			@Override
			public List<String> getUserRoles(String s) {
				return null;
			}
			
			@Override
			public List<String> getGroups() {
				return null;
			}
			
			@Override
			public List<String> getUsers() {
				return null;
			}
		};
	}

}
